package com.workerhelping.feignClients;

import com.workerhelping.dto.RabbitMQDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("RABBITMQ")
public interface RabbitMQFeignClient  {
    @PostMapping("/rabbitmq/sendMsg")
    boolean sendMsg(@RequestBody RabbitMQDTO rabbitMQDTO);
}
